#ifndef _MAPLRCFILE_H_
#define _MAPLRCFILE_H_

#include <fstream>
#include <string>
#include <map>

#include <nsCOMPtr.h>
#include <mozIStorageService.h>
#include <mozIStorageConnection.h>
#include <mozIStorageStatement.h>

class CMapLrcFile
{
public:

	CMapLrcFile(void);
	~CMapLrcFile(void);

    void Init();
	// 
	void SetLrcFile(const std::string &file);
	std::string GetLrcFile(const std::string &name);

private:
    nsCOMPtr<mozIStorageService> m_dbService;
    nsCOMPtr<mozIStorageConnection> m_dbConn;
    nsCOMPtr<mozIStorageStatement> m_queryStatement;
    nsCOMPtr<mozIStorageStatement> m_insertStatement;
    nsCOMPtr<mozIStorageStatement> m_updateStatement;
};

#endif




